package jocl.impl;

import gdts.common.data.type.VArray;
import gdts.common.data.type.VInteger;
import gdts.common.data.type.VString;
import gdts.common.module.ModuleType;
import gdts.common.module.annotation.Module;

import java.io.IOException;

import org.jocl.cl_kernel;

import opencl.IKernelCompiler;
import opencl.IOpenCL;
import opencl.impl.JOCLKernelCompiler;

@Module(id = "JOCLModule", version = "1.0.0", type = ModuleType.BOTH)
public class JOCLModule implements IOpenCL {

    private IKernelCompiler<cl_kernel> kernelCompiler = new JOCLKernelCompiler();

    @Override
    public void compile(VString kernelData) throws IOException {
        // TODO Auto-generated method stub
    }

    @Override
    public void setParameters(VArray firstMatrix, VArray secondMatrix) {
        // TODO Auto-generated method stub
    }

    @Override
    public void execute(VArray result) {
        // TODO Auto-generated method stub
    }

    @Override
    public void sliceArrays(VInteger count, VArray firstArray, VArray secondArray, VArray vectorsFromFirst,
            VArray vectorsFromSecond) {
        // TODO Auto-generated method stub
    }
}